package com.ordertracker.entity.document;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.ordertracker.entity.VersionedEntity;

@XmlRootElement
public class Currency extends VersionedEntity{

	private static final long serialVersionUID = 3190108205481745108L;
	private String code;
	private String name;
	private String shortName;
	
	public Currency(){
		
	}
	
	public Currency(String code, String name, String shortName) {
		super();
		this.code = code;
		this.name = name;
		this.shortName = shortName;
	}
	
	@XmlElement
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@XmlElement
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@XmlElement
	public String getShortName() {
		return shortName;
	}

	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	

}
